package com.joysuch.wwyt.bp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.joysuch.wwyt.bp.bean.contractor.BpContractorViolationRecordBean;
import com.joysuch.wwyt.bp.entity.contractor.BpContractorViolationRecord;
import com.joysuch.wwyt.edu.entity.EduTrainningRecordUser;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface BpContractorViolationRecordsManagementMapper extends BaseMapper<BpContractorViolationRecord> {

    List<BpContractorViolationRecord> selectRecordsByContractor(@Param("contractorId") Long contractorId, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);

}
